<%@ Page Language="C#" MasterPageFile="~/TreyResearchOnlineEMR.Master" AutoEventWireup="true"
    CodeFile="Login.aspx.cs" Inherits="ProviderLogin" Title="Trey Research - Provider Login" ClassName="Login" %>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContentPlaceHolder" runat="Server">
<table style="width: 100%;" class="ContentPlaceHolderInner" border="0" cellpadding="0" cellspacing="0" >
        <tr>
            <td style="height: 100%; width: 100%;" align="center" valign="middle">
            <div> 
    <table class="PageFont" border="0" cellpadding="0" cellspacing="5">
        <tr>
            <td align="right">
            </td>
            <td align="right">
            </td>
            <td align="left" class="Mandatory">
                <asp:Literal ID="LiteralErrorMessage" runat="server"></asp:Literal></td>
        </tr>
        <tr>
            <td align="left" style="height: 24px">
                <asp:Label ID="LabelUserName" runat="server" Text="User Name"></asp:Label><span class="Mandatory">*</span></td>
            <td align="left" style="height: 24px">
            </td>
            <td align="left" style="height: 24px">
                <asp:TextBox ID="TextBoxUsername" runat="server" CssClass="registraionDropdown" Width="150px" MaxLength="64" TabIndex="1" ></asp:TextBox>
                &nbsp;<asp:RequiredFieldValidator
                    ID="valUserName" runat="server" ErrorMessage="User Name is Required" ToolTip="User Name is Required" ControlToValidate="TextBoxUsername" CssClass="PageFont" SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td align="left" style="height: 24px">
                <asp:Label ID="LabelPassword" runat="server" Text="Password"></asp:Label><span class="Mandatory">*</span></td>
            <td align="left" style="height: 24px">
            </td>
            <td align="left" style="height: 24px">
                <asp:TextBox ID="TextBoxPassword" runat="server" TextMode="Password" CssClass="registraionDropdown" Width="150px" MaxLength="16" TabIndex="2"></asp:TextBox>
                <span class="Mandatory"></span>
                <asp:RequiredFieldValidator ID="valPassword" runat="server" ErrorMessage="Password is Required"
                    ToolTip="Password is Required" ControlToValidate="TextBoxPassword" CssClass="PageFont" SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
        </tr>
        <tr>
            <td align="left">
                <asp:Label ID="LabelProviderPractice" runat="server" Text="Provider Practice"></asp:Label><span class="Mandatory">*</span></td>
            <td align="left">
            </td>
            <td align="left">
                <asp:DropDownList ID="DropDownListProviderPractice" runat="server" CssClass="registraionDropdown"  TabIndex="3" Width="156px">
                </asp:DropDownList>&nbsp;
                <asp:RequiredFieldValidator ID="valPractice" runat="server" ErrorMessage="Provider Practice is required"
                    ToolTip="Provider Practice is required" CssClass="PageFont" ControlToValidate="DropDownListProviderPractice" SetFocusOnError="True" Display="Dynamic"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td align="right">
            </td>
            <td align="right" style="width: 10px">
            </td>
            <td align="left">
                <table>
                    <tr>
                        <td class="Mandatory" colspan="3" style="height: 10px">
                        </td>
                    </tr>
                    <tr>
                        <td class="Mandatory" colspan="3">
                <asp:Literal ID="LiteralWarning" runat="server" Text="Fields marked with * are mandatory"></asp:Literal></td>
                    </tr>
                    <tr>
                        <td colspan="3" style="height: 10px">
                        </td>
                    </tr>
                    <tr>
                        <td style="height: 17px">
                            <asp:Button ID="ButtonSignIn" runat="server" CssClass="Button" TabIndex="4" OnClick="ButtonSignIn_Click" Height="18px" Text="  Sign In  " ToolTip="Sign In"   />
                        </td>
                        <td align="left" style="height: 17px; width: 25px;">
                            &nbsp;<br />
                        </td>                        
                        <td align="left" style="height: 17px">
                            <asp:LinkButton  ID="LinkButtonCreateUser" runat="server" CssClass="HyperLink" TabIndex="5" OnClick="LinkButtonCreateUser_Click" CausesValidation="False" Height="18px" ToolTip="Create new user for existing provider "
                              >New User Registration</asp:LinkButton>
                            <br />
                            <asp:LinkButton  ID="LinkNewRegistration" runat="server" CssClass="HyperLink" TabIndex="6" OnClick="LinkButtonNewRegistration_Click" CausesValidation="False" Height="18px" ToolTip="Create new provider Practice ">New Provider Registration</asp:LinkButton>&nbsp;</td>                       
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    </div>
        </td>
        </tr>
    </table>
        <script language="javascript" type="text/javascript">    
    function CheckSpecialCharacter(Chars)
    {
        var str = Chars.split(",");
        for(var i=0;i<str.length;i++)
        {     
         if(String.fromCharCode(event.keyCode) == str[i]) 
         {
           event.returnValue=false;
         }
        }
    }
    </script>
</asp:Content>
